import request from '@/utils/request'
import { praseStrEmpty } from "@/utils/ruoyi";

//获取分机号列表
export function getSpecialPhones(data) {
  return request({
    url: '/call/specialPhone/getSpecialPhones',
    method: 'post',
    data: data
  })
}

//删除
export function deleteSpecialPhone(data) {
  return request({
    url: '/call/specialPhone/deleteSpecialPhone',
    method: 'post',
    data: data
  })
}
//新增
export function addSpecialPhone(data) {
  return request({
    url: '/call/specialPhone/addSpecialPhone',
    method: 'post',
    data: data
  })
}
//修改
export function updateSpecialPhone(data) {
  return request({
    url: '/call/specialPhone/updateSpecialPhone',
    method: 'post',
    data: data
  })
}